From bfd6f57c220b1c39792397446efdb79c19a9eb39 Mon Sep 17 00:00:00 2001 From: robertl Date: Fri, 17 Jun 2005 14:09:13 +0000 Subject: [PATCH] Add protos for gs_get_cachetype. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@1200 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/defs.h | 1 + gpsbabel/maggeo.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gpsbabel/defs.h b/gpsbabel/defs.h index 4ac800dcb..ef0e338f1 100644 --- a/gpsbabel/defs.h +++ b/gpsbabel/defs.h @@ -538,6 +538,7 @@ signed int get_tz_offset(void); time_t current_time(void); signed int month_lookup(const char *m); const char *get_cache_icon(const waypoint *waypointp); +const char *gs_get_cachetype(geocache_type t); char * xml_entitize(const char * str); char * html_entitize(const char * str); char * strip_html(const utf_string*); diff --git a/gpsbabel/maggeo.c b/gpsbabel/maggeo.c index 5545f7462..94cddd34f 100644 --- a/gpsbabel/maggeo.c +++ b/gpsbabel/maggeo.c @@ -130,7 +130,7 @@ maggeo_waypt_pr(const waypoint *waypointp) int lon_deg, lat_deg; char *shortname; char *cname = NULL; - char *ctype = NULL; + const char *ctype = NULL; char *placer = NULL; char *lfounddate = NULL; char *placeddate = NULL; -- 2.30.2